/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package TCPprotocolo;

/**
 *
 * @author emanuellima
 */
public class CreateGameMessage extends Message {
    
    public CreateGameMessage (int numberOfPlayers){
        
        this.numbersOfPlayers = numberOfPlayers;
        this.type = 0;
    }
    
    private int numbersOfPlayers;

    /**
     * @return the numbersOfPlayers
     */
    public int getNumbersOfPlayers() {
        return numbersOfPlayers;
    }

    /**
     * @param numbersOfPlayers the numbersOfPlayers to set
     */
    public void setNumbersOfPlayers(int numbersOfPlayers) {
        this.numbersOfPlayers = numbersOfPlayers;
    }
    
    
}
